//
//  PpScanResultsViewController.swift
//  Palmpilot
//
//  Created by 杨伟毅 on 2018/10/20.
//  Copyright © 2018年 杨伟毅. All rights reserved.
//

import UIKit
import QorumLogs

class PpScanResultsViewController: PpBaseViewController {
    var baseUrl = String()
    let baseWebView = UIWebView.init(frame: ZCGRECT(x: 0, y: 0, width: SCREEN_width, height: SCREEN_HEIGHT-TopHeight))
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.title = PpLanguageSwitchTool.getString(key: "Scan results")
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .white
        baseWebView.backgroundColor = .white
        baseWebView.isOpaque = false
        QL1("打印网址\(baseUrl)")
        baseWebView.loadRequest(URLRequest.init(url: URL.init(string: baseUrl)!))
        self.view.addSubview(baseWebView)
        // Do any additional setup after loading the view.
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
